<div id="content" >
				<div class="breadcrumb2">
					<p><a href="<?php echo $this->Html->url(array('controller'=>'newproducts', 'action'=>'index')) ?>">Sản phẩm mới</a> > <?php echo $Newproduct['Career']['name'] ?></p>
				</div><!--end breadcrumb-->		
			<div class="group2" style="margin-bottom:20px; margin-top:60px; overflow:hidden">
			
				<div id="spm_img">
					<?php
							if(count($Newproduct["NewproductImage"])){
								echo $this->Html->image("/uploads/newproduct_image/filename/thumb/default/".$Newproduct["NewproductImage"][0]["filename"]);
							} else {
								echo $this->Html->image("/img/noimage.jpg");
								
							}
				        ?>
					<!--<div id="spm_thumb">
						<p>
						<img class="thumb" src="images/mac_thumb.jpg" alt="" />
						<img class="thumb" src="images/mac_thumb.jpg" alt="" />
						<img class="thumb" src="images/mac_thumb.jpg" alt="" />
						</p>
						<p class="note"><img id="kinhlup" src="images/glasses.jpg" alt="" />Bấm vào hình để xem lớn</p>
					</div>-->
				</div>
				<h2><?php echo $Newproduct['Newproduct']['name'] ?></h2>
				
				
			
				<p class="spm_price">Giá: <?php echo $Newproduct['Newproduct']['price'] ?> VNĐ</p><br />
				<p class="spm_bodytext">
					<?php echo $Newproduct['Newproduct']['short_description'] ?>
				</p>
				

			</div><!--end group2-->

		<div id="tabs">
			<ul>
				<li><a href="#tabs-1">Thông tin chung</a></li>
				<li><a href="#tabs-2">Nhà sản xuất</a></li>
				<li><a href="#tabs-3">Nhà cung cấp</a></li>
			</ul>
			<div id="tabs-1">
				<?php echo $Newproduct['Newproduct']['description'] ?>
			</div>
			<div id="tabs-2"><?php echo $Newproduct['Newproduct']['nsx'] ?></div>
			<div id="tabs-3"><?php echo $Newproduct['Newproduct']['ncc'] ?></div>
		</div>
		
		<div class="group1" style="margin-top:20px">
				<?php echo $this->render('_filter_index_home', '');?>				
				
					
				<div class="table_list">

					<table id="ncdt" width="100%" cellspacing="0" cellpadding="0" border="0">
						<tr class="title">
							<td>Sản phẩm</td>
							
							<td>Địa điểm</td>
							<td>Ngành nghề</td>

							<td>Lượt xem</td>
							<td>Ngày đăng</td>
							<td>Hình ảnh</td>
						</tr>
						<?php foreach($Newproducts as $k => $item) {
							$class = $k%2 == 0 ? "odd" : "even" ;
						?>
									<tr class="<?php echo $class; ?>">
										<td><?php echo $this->Html->link(__($item["Newproduct"]["name"], true), array('action' => 'view', $item['Newproduct']['id'])); ?></td>
			
			
										<td><?php echo $item["City"]["name"] ?></td>
										<td><?php echo $item["Career"]["name"] ?></td>
										<td><?php echo $item["Newproduct"]["hit"] ?></td>
										<td><?php echo $item["Newproduct"]["create_date"] ?></td>
										<td><img src="<?php echo $this->Html->url('/img/thumbnail.jpg') ?>" /></td>
									</tr>
						<?php } ?>
						
					</table>

				</div><!--end table_list-->
				
				
				
				
					<div id="pagination">						
						<ul class="pager">

							<li><?php echo $this->Paginator->prev('<< ' . __('trang trước', true), array(), null, array('class'=>'disabled'));?></li>
							<li>
								<?php echo $this->Paginator->numbers();?>
							</li>							
							<li><?php echo $this->Paginator->next(__('trang sau', true) . ' >>', array(), null, array('class' => 'disabled'));?></li>
						</ul>
					</div><!--end pagination-->
			</div><!--end group-->	
					
